package datalayer.mysql;

import java.sql.Connection;
import java.sql.DriverManager;
import java.sql.PreparedStatement;
import java.sql.ResultSet;
import java.sql.Statement;

// Auteur: Kristian
// Datum: 17-3-2015

public class MysqlDBO {

		protected String URL = "jdbc:mysql://localhost:3306/jumboo";
		protected String User = "root";
		protected String Password = "overview";
		public Connection conn;
		public Statement stmt;
		public ResultSet RS;
		public PreparedStatement preps;
		
		
		public Connection openConnection() {
			try {
				conn = DriverManager.getConnection(URL, User, Password);
				
				System.out.println("Connectie werkt");
			} catch (Exception e){
				e.printStackTrace();
			}
			return conn;
		}
}
